package com.hc.service;

import com.github.pagehelper.PageInfo;
import com.hc.pojo.TbUser;

import java.util.List;
import java.util.Map;

public interface TbUserService {
    PageInfo listUserByPage(int pageNum,int pageSize);

    TbUser selectEmailAndPassWord(String email);

    List<TbUser> findAll();

    boolean addUser(TbUser tbUser);

    int deleteById(Long id);

    int updateTbUer(TbUser tbUser);

    TbUser findById(Long id);

    int batchDelete(String[] ids);

    List<TbUser> likeSearch(Map map);
}
